<!DOCTYPE html>
<style>
    /* Some invalid properties for ::first-letter */
    #elm { overflow:scroll; max-width:4em; }

    /* Some valid properties for ::first-letter */
    #elm { font-family:monospace; margin-right:10px; padding-left:3em; background:yellow; }

    #elm::first-letter { color:red; all:inherit; margin-left:-3em; float:left; }
</style>
<p>Test that an all:inherit declaration in a ::first-letter rule inherits what should be inherited,
    while invalid properties for ::first-letter aren't.</p>
<p>The word "PASS" should be seen below, in a yellow box. There should be scrollbars on the yellow
    box. Translucency should be uniform. There should be no red.</p>
<div id="elm">P<span style="margin-left:-10px;">ASS</span></div>
